package kr.hkit.powerjava.chapter11.Programming;

public class Melon extends Food {

	private String farm;//경작농원

	
	public Melon() {
	}

	public Melon(String farm) {
		this.farm = farm;
	}

	public Melon(double cal, int price, double weight, String farm) {
		super(cal, price, weight);
		this.farm = farm;
	}

	//아래로는 접근자 설정자
	
	public String getFarm() {
		return farm;
	}

	public void setFarm(String farm) {
		this.farm = farm;
	}
	
}
